package cn.zhku.thing.service;

import java.util.ArrayList;

import cn.zhku.news.domain.News;
import cn.zhku.thing.dao.ThingDao;
import cn.zhku.thing.domain.Thing;

public class ThingService {
	ThingDao thingDao =new ThingDao();
	public void add(Thing thing) {
		thingDao.add(thing);
		
	}
	public  ArrayList<Thing> findAll() {
		return thingDao.findAll();
	}
	public void edit(Thing thing) {
		thingDao.edit(thing);
	}
	public void delete(Thing thing) {
		thingDao.delete(thing);
		
	}

}
